package com.wuh.model;


import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

public class CastleInfo extends BasePage {
	
	private Integer castle_id;
	private Integer castle_type;
	private Integer mall_type;
	private Integer teacher_id;
	private Integer group_id;
	private String class_title;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date start_date;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date end_date;
	@DateTimeFormat(pattern = "HH:mm")
	private Date start_time;
	@DateTimeFormat(pattern = "HH:mm")
	private Date end_time;
	private String castle_cycle; //上课周期，格式 1,2,3,6,7
	private String fit_person; //适合人群
	private Float castle_pay;
	private String castle_address;
	private String img_url;
	private String castle_desc;
	private String castle_method;
	private Date last_modify;
	private Integer signup_num; //报名人数
	private Integer collect_num; //收藏人数
	private Integer comment_num;
	private String status; //状态 0：开始报名 1：结束报名 2 关闭 3已经结束
	
	private Integer sort; //用来排序
	private Integer isWhich;
	private MultipartFile myJpg;
	private MultipartFile myfile;
	

	private Teacher teacher;
	private MallType mallType;
	private CastleType castleType;
	private GroupInfo groupInfo;
	
	public GroupInfo getGroupInfo() {
		return groupInfo;
	}
	public void setGroupInfo(GroupInfo groupInfo) {
		this.groupInfo = groupInfo;
	}
	public Integer getIsWhich() {
		return isWhich;
	}
	public void setIsWhich(Integer isWhich) {
		this.isWhich = isWhich;
	}
	public CastleType getCastleType() {
		return castleType;
	}
	public void setCastleType(CastleType castleType) {
		this.castleType = castleType;
	}
	public MultipartFile getMyfile() {
		return myfile;
	}
	public void setMyfile(MultipartFile myfile) {
		this.myfile = myfile;
	}
	public MultipartFile getMyJpg() {
		return myJpg;
	}
	public void setMyJpg(MultipartFile myJpg) {
		this.myJpg = myJpg;
	}
	public Date getStart_time() {
		return start_time;
	}
	public Date getEnd_time() {
		return end_time;
	}
	public void setStart_time(Date start_time) {
		this.start_time = start_time;
	}
	public void setEnd_time(Date end_time) {
		this.end_time = end_time;
	}
	public MallType getMallType() {
		return mallType;
	}
	public void setMallType(MallType mallType) {
		this.mallType = mallType;
	}
	public Teacher getTeacher() {
		return teacher;
	}
	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}
	public Integer getCastle_id() {
		return castle_id;
	}
	public Integer getCastle_type() {
		return castle_type;
	}
	public Integer getMall_type() {
		return mall_type;
	}
	public Integer getTeacher_id() {
		return teacher_id;
	}
	public Integer getGroup_id() {
		return group_id;
	}
	public String getClass_title() {
		return class_title;
	}
	public Date getStart_date() {
		return start_date;
	}
	public Date getEnd_date() {
		return end_date;
	}
	public String getCastle_cycle() {
		return castle_cycle;
	}
	public String getFit_person() {
		return fit_person;
	}
	public Float getCastle_pay() {
		return castle_pay;
	}
	public String getCastle_address() {
		return castle_address;
	}
	public String getImg_url() {
		return img_url;
	}
	public String getCastle_desc() {
		return castle_desc;
	}
	public String getCastle_method() {
		return castle_method;
	}
	public Date getLast_modify() {
		return last_modify;
	}
	public Integer getSignup_num() {
		return signup_num;
	}
	public Integer getCollect_num() {
		return collect_num;
	}
	public Integer getComment_num() {
		return comment_num;
	}
	public String getStatus() {
		return status;
	}
	public void setCastle_id(Integer castle_id) {
		this.castle_id = castle_id;
	}
	public void setCastle_type(Integer castle_type) {
		this.castle_type = castle_type;
	}
	public void setMall_type(Integer mall_type) {
		this.mall_type = mall_type;
	}
	public void setTeacher_id(Integer teacher_id) {
		this.teacher_id = teacher_id;
	}
	public void setGroup_id(Integer group_id) {
		this.group_id = group_id;
	}
	public void setClass_title(String class_title) {
		this.class_title = class_title;
	}
	public void setStart_date(Date start_date) {
		this.start_date = start_date;
	}
	public void setEnd_date(Date end_date) {
		this.end_date = end_date;
	}
	public void setCastle_cycle(String castle_cycle) {
		this.castle_cycle = castle_cycle;
	}
	public void setFit_person(String fit_person) {
		this.fit_person = fit_person;
	}
	public void setCastle_pay(Float castle_pay) {
		this.castle_pay = castle_pay;
	}
	public void setCastle_address(String castle_address) {
		this.castle_address = castle_address;
	}
	public void setImg_url(String img_url) {
		this.img_url = img_url;
	}
	public void setCastle_desc(String castle_desc) {
		this.castle_desc = castle_desc;
	}
	public void setCastle_method(String castle_method) {
		this.castle_method = castle_method;
	}
	public void setLast_modify(Date last_modify) {
		this.last_modify = last_modify;
	}
	public void setSignup_num(Integer signup_num) {
		this.signup_num = signup_num;
	}
	public void setCollect_num(Integer collect_num) {
		this.collect_num = collect_num;
	}
	public void setComment_num(Integer comment_num) {
		this.comment_num = comment_num;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Integer getSort() {
		return sort;
	}
	public void setSort(Integer sort) {
		this.sort = sort;
	}
	@Override
	public String toString() {
		return "CastleInfo [castle_id=" + castle_id + ", castle_type=" + castle_type + ", mall_type=" + mall_type
				+ ", teacher_id=" + teacher_id + ", group_id=" + group_id + ", class_title=" + class_title
				+ ", start_date=" + start_date + ", end_date=" + end_date + ", start_time=" + start_time + ", end_time="
				+ end_time + ", castle_cycle=" + castle_cycle + ", fit_person=" + fit_person + ", castle_pay="
				+ castle_pay + ", castle_address=" + castle_address + ", img_url=" + img_url + ", castle_desc="
				+ castle_desc + ", castle_method=" + castle_method + ", last_modify=" + last_modify + ", signup_num="
				+ signup_num + ", collect_num=" + collect_num + ", comment_num=" + comment_num + ", status=" + status
				+ ", sort=" + sort + ", isWhich=" + isWhich + ", myJpg=" + myJpg + ", myfile=" + myfile + ", teacher="
				+ teacher + ", mallType=" + mallType + ", castleType=" + castleType + "]";
	}
	
	
}
